#include<stdio.h>
int main()
{
	int n;
	int sum=0;
	scanf("%d",&n);
	sum=n*(n+1)/2; 
	printf("1+2+...+%d=%d\n",n,sum);
	return 0;
}
